package cn.kgc.mybatis.web.mapper;

import cn.kgc.mybatis.web.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/1/29
 * @description
 */
public interface EmpMapper {

    Integer insertEmp(Emp emp);

    List<Emp> searchEmp(@Param("ename") String ename, @Param("age") Integer age);

    void updateEmp(Emp emp);

    void batchDelete(@Param("list") List<String> list);
}


